package com.mtt.erp.logistics.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mtt.erp.common.domain.QueryRequest;
import com.mtt.erp.logistics.domain.OrderSenderInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mtt.erp.logistics.dto.FaceOrderPerson;
import com.mtt.erp.logistics.dto.OrderSenderInfoCreateDto;
import com.mtt.erp.logistics.dto.OrderSenderInfoDto;
import com.mtt.erp.logistics.dto.OrderSenderInfoUpdateDto;
import com.mtt.erp.logistics.vo.OrderSenderInfoVo;

import javax.validation.Valid;

/**
 * @author MrBird
 */
public interface IOrderSenderInfoService extends IService<OrderSenderInfo> {
    IPage<OrderSenderInfoVo> getOrderSenderInfo(QueryRequest request, OrderSenderInfoDto orderSenderInfoDto);
    void createOrderSenderInfo(@Valid OrderSenderInfoCreateDto orderSenderInfoCreateDto);
    void updateOrderSenderInfo(@Valid OrderSenderInfoUpdateDto orderSenderInfoUpdateDto);
    void deleteOrderSenderInfo(String[] orderSenderInfoIds)throws Exception;
    OrderSenderInfoVo getOrderSenderInfoById(String id);
}
